package com.woniuxy.exception;

public class WoniuException extends RuntimeException {

    private Integer code;

    public WoniuException(String msg, Integer code) {
        super(msg);
        this.setCode(code);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
